<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            {foreach $statuslist as $key=>$item}
                <li class="{:$Think.get.status === (string)$key ? 'active' : ''}">
                    <a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$item}</a>
                </li>
            {/foreach}
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add')}

                        <!-- <a href="javascript:;" class="btn btn-success btn-disabled disabled btn-agree {:$auth->check('depot/storage/agree') ? '' : 'hide'}" title="审核通过">
                            <i class="fa fa-leaf"></i> 审核通过
                        </a>
                        <a href="javascript:;" class="btn btn-success btn-disabled disabled btn-reject {:$auth->check('depot/storage/reject') ? '' : 'hide'}" title="拒绝审核">
                            <i class="fa fa-exclamation-triangle"></i> 拒绝审核
                        </a>
                        <a href="javascript:;" class="btn btn-success btn-disabled disabled btn-revoke {:$auth->check('depot/storage/revoke') ? '' : 'hide'}" title="撤销审核">
                            <i class="fa fa-reply"></i> 撤销审核
                        </a>
                        <a href="javascript:;" class="btn btn-success btn-disabled disabled btn-confirm {:$auth->check('depot/storage/confirm') ? '' : 'hide'}" title="确认入库">
                            <i class="fa fa-leaf"></i> 确认入库
                        </a> -->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('depot/back/edit')}"
                           data-operate-del="{:$auth->check('depot/back/del')}"
                           data-operate-info="{:$auth->check('depot/back/info')}"
                           data-operate-agree="{:$auth->check('depot/back/agree')}"
                           data-operate-reject="{:$auth->check('depot/back/reject')}"
                           data-operate-revoke="{:$auth->check('depot/back/revoke')}"
                           data-operate-receipt="{:$auth->check('depot/back/receipt')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
